[index]
HyperText Message
Syntax
on hyperText <text>
end hyperText
Sent to fields
Description
The hyperText message is sent when the user holds down the Alt key on Windows (the Option key on Macintosh) in a field and double-clicks on text. The message is sent regardless of the state of the lockText property.
The purpose of the hyperText handler is to allow you to create links between ideas or pieces of information. For example, the hyperText handler lets you dynamically define terms that the user might not understand. You can also use hyperText to link cards.
The <text> parameter of the hyperText message stores the word that was double-clicked.
It is recommended that you indicate to the user which words or phrases have associated hyperText links by displaying them in a different font, color, or style.
Examples
on hyperText SomeWord
if "HyperText" is in SomeWord then
put "a widely-known aspect of Hypermedia." else if "multimedia" is in SomeWord then
end hyperText
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.